#import <UIKit/UIKit.h>

#import "framework/FWDBAccess.h"
#import "PIEvent.h"


@class SBApplication;
@class FWApplication;


@interface PIEventIntegration : NSObject <FWDBAccessDelegate>

+ (NSArray*)basicEventsList:(FWApplication*)application prefs:(FWPreferences*)prefs fromDate:(NSDate*)startDate toDate:(NSDate*)endDate;

+ (void)addAlarmDataToEventList:(FWApplication*)app events:(NSArray*)events prefs:(FWPreferences*)prefs;

+ (PIEvent*)augmentedBasicEvent:(PIEvent*)event application:(FWApplication*)app;

//+ (NSDictionary*)dataForPIEvent:(NSString*)key application:(FWApplication*)application;

@end
